package com.training.java.corejava.collections;

public class Car
{
	private String make;
	private String model;
	private int year;
	private int price;
	
	Car()
	{}
	
	Car(String make,String model,int year)
	{
		this.make=make;
		this.model=model;
		this.year=year;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public String getMake() {
		return make;
	}

	public String getModel() {
		return model;
	}

	public int getYear() {
		return year;
	}
	
	
	

}
